package cn.jingyuan.owl.utils.core.convert.impl;

import cn.jingyuan.owl.utils.core.convert.AbstractConverter;

import java.util.Currency;

/**
 * 货币 {@link Currency} 转换器
 */
public class CurrencyConverter extends AbstractConverter<Currency> {

    @Override
    protected Currency convertInternal(Object value) {
        return Currency.getInstance(convertToStr(value));
    }

}
